home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD018b.dsk
/
DDM INPUT ANYTHING DEMO.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
764b
|
23 lines
5 REM LOAD MACHINE LANGUAGE SUBROUTINE
10 D$ = CHR$(4): PRINT D$"NOMONIOC"
20 TEXT : HOME
30 VTAB 10: PRINT "LOADING INPUT ANYTHING CODE"
40 PRINT D$"BLOAD DDM INPUT ANYTHING.OBJ"
99 REM PRINT PROMPT AND GET INPUT
100 HOME
110 VTAB 10: PRINT "GO AHEAD, INPUT ANYTHING..."
120 FLASH : PRINT "->";: NORMAL : PRINT " ";
125 REM INPUT ANYTHING CALL
126 REM CAN USE ANY STRING VARIABLE
127 REM OR CHANGE ADDRESS IF CODE IS
128 REM RELOCATED
129 REM ALL NORMAL ESC EDITING FEATURES ARE STILL ACTIVE
130 CALL 768,A$: REM RETURNS INPUT IN A$
140 PRINT : PRINT "INPUT WAS ..."
150 PRINT A$
160 PRINT
199 REM GO AGAIN PROMPT
200 PRINT "GO AGAIN? (Y/N) ";: GET A$: PRINT A$
210 IF A$ = "Y" GOTO 100
220 IF A$ < >"N" GOTO 200
230 HOME : END